﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GAM_Web_Designer_Pro {
    [Serializable()]
    public class Template {
        private string _text;
        private string _lang;
        private string _name;
        private string _version;
        private string _key;

        public Template() {
            _text = String.Empty;
            _lang = String.Empty;
            _name = String.Empty;
            _version = String.Empty;
            _key = String.Empty;
        }
        /// <summary>
        /// The text of the template.
        /// </summary>
        public string Text {
            get {
                return _text;
            }
            set {
                _text = value;
            }
        }

        /// <summary>
        /// The programming language this template uses.
        /// </summary>
        public string Language {
            get {
                return _lang;
            }
            set {
                _lang = value;
            }
        }

        /// <summary>
        /// The name of the template.
        /// </summary>
        public string Name {
            get {
                return _name;
            }
            set {
                _name = value;
            }
        }

        /// <summary>
        /// The templates version.
        /// </summary>
        public string Version {
            get {
                return _version;
            }
            set {
                _version = value;
            }
        }

        /// <summary>
        /// A unique key used to help find the template.
        /// </summary>
        public string Key {
            get {
                return _key;
            }
            set {
                _key = value;
            }
        }
    }
}
